.PHONE:ALL
ALL:http_server parser search_test jieba_test

http_server:http_server.cc
	g++ -o $@ $^ -ljsoncpp -lpthread -std=c++11
parser:parser.cc
	g++ -o $@ $^ -lboost_system -lboost_filesystem -std=c++11 
search_test:search_test.cc
	g++ -o $@ $^  -ljsoncpp -pthread -std=c++11 
jieba_test:jieba_test.cpp
	g++ -o $@ $^ -std=c++11


.PHONE:clean
clean:
	rm -f parser http_server jieba_test
